package com.cnpinxi.domain;

public class ResourceRelation extends com.cnpinxi.domain.Resource {

    public final static Byte RESOURCE_RELATION_TYPE_PRODUCT=1;
    public final static Byte RESOURCE_RELATION_TYPE_ENTITY=2;
    public final static Byte RESOURCE_RELATION_TYPE_USER_HEAD_PIC=3;
    public final static Byte RESOURCE_RELATION_TYPE_ORDER=4;

    private Long resourceId;

    private Byte resourceRelationType;

    private Long resourceRelationId;

    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    public Byte getResourceRelationType() {
        return resourceRelationType;
    }

    public void setResourceRelationType(Byte resourceRelationType) {
        this.resourceRelationType = resourceRelationType;
    }

    public Long getResourceRelationId() {
        return resourceRelationId;
    }

    public void setResourceRelationId(Long resourceRelationId) {
        this.resourceRelationId = resourceRelationId;
    }
}